# 在主窗口中集成
from PyQt5.QtWidgets import QMainWindow

from GUIdesign.Customer_money_tap import CustomerTransferTab


class CustomerDashboard(QMainWindow):
    def __init__(self, customer_id):
        super().__init__()
        self.setWindowTitle("客户操作面板")

        # 创建转账标签页
        self.transfer_tab = CustomerTransferTab(customer_id)

        # 添加到主窗口
        self.setCentralWidget(self.transfer_tab)